package com.chenye.jpa.entity;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Auther:chenye
 * @Data:2018/5/15
 * @Description:
 */
@Entity
@Table(name = "role_group")
@Data
@ToString
public class RoleGroup {
    @Id
    private Integer id;
    @Column(name = "role_id")
    private Integer roleId;
    @Column
    private String desc;
    @Column(name = "group_name")
    private String groupName;
}
